package com.bw.bean;

/**
 * @author 梁凯博
 */
public class Cargo {
    private int id;
    private int orderId;
    private String cargoType;

    public Cargo(int id, int orderId, String cargoType) {
        this.id = id;
        this.orderId = orderId;
        this.cargoType = cargoType;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getCargoType() {
        return cargoType;
    }

    public void setCargoType(String cargoType) {
        this.cargoType = cargoType;
    }

    @Override
    public String toString() {
        return "Cargo{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", cargoType='" + cargoType + '\'' +
                '}';
    }
}
